package com.niiwoo.civet.mobile.vo.response.creditor;

import com.niiwoo.civet.mobile.vo.common.ConfigItem;
import com.niiwoo.civet.mobile.vo.common.ConfigVO;
import groovy.transform.ToString;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.ArrayList;
import java.util.List;

@Setter
@Getter
@ToString
@ApiModel("信用标，抵押标，转让区债权列表--配置（级联方式）")
public class InvestOrderRelationResponseVO {
    @ApiModelProperty("标的类型；配置类型(configType)为0,1时有值")
    private List<ConfigItem> productType = new ArrayList<>();

    @ApiModelProperty("剩余期限；配置类型(configType)为0,2时有值")
    private List<ConfigVO> restPeriod = new ArrayList<>();

    @ApiModelProperty("还款方式；配置类型(configType)为0,3时有值")
    private List<ConfigItem> repaymentType = new ArrayList<>();

    @ApiModelProperty("参考年化利率；配置类型(configType)为0,4时有值")
    private List<ConfigVO> interestReate = new ArrayList<>();

    @ApiModelProperty("可投金额；配置类型(configType)为0,5时有值")
    private List<ConfigVO> investableAmount = new ArrayList<>();
}
